#ifndef _TASK_H_
#define _TASK_H_
#include"result.h"
class Result;
class Task
{
 public:
 Task();
 ~Task()=default;
  void exec();
  virtual Any run() =0;
  void SetResult(Result * res);
 private:
  Result * result_;
};
#endif